package io.renren.modules.maintenance.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.time.LocalDate;
import java.util.Date;

/**
 * <p>
 *
 * </p>
 *
 * @author iweb
 * @since 2020-08-07
 */
@Data
@EqualsAndHashCode(callSuper = false)
@JsonIgnoreProperties(value = {"handler","hibernateLazyInitializer","fieldHandler"})
@JsonInclude(JsonInclude.Include.NON_NULL)//json格式化的数据不包括空值
public class MOrder implements Serializable {

    private static final long serialVersionUID = 1L;
    @TableId("id")
    private String Id;

    private String orderId;//订单号

    private Date date;//创建时间

    private Float price;//价格

    private Integer status;//订单状态

    private String engineerName;//工程师名

    private Integer guestId;//客户id

    private Integer devCateId;//设备类别id

    private String SAM;//客户经理
    @TableField(exist=false)
    private MGuest mGuest;//订单对应客户





}
